package model.fshare.common;

import java.io.Serializable;

import model.fshare.common.Command;
import model.fshare.common.FShareOperations;

public class CMDGetFileList implements Command,Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int roomId;
	
	public CMDGetFileList(int roomId)
	{
		this.roomId = roomId;
	}
	
	@Override
	public Object command(FShareOperations operator) 
	{
		return operator.getFilesNameList( roomId );
	}

}
